package cn.edu.nju.bankaccount.factory;

import cn.edu.nju.bankaccount.dao.AccountDao;
import cn.edu.nju.bankaccount.dao.UserDao;
import cn.edu.nju.bankaccount.dao.impl.AccountDaoImpl;
import cn.edu.nju.bankaccount.dao.impl.UserDaoImpl;

public class DaoFactory {
	public static AccountDao getAccountDao(){
		return AccountDaoImpl.getInstance();
	}
	
	public static UserDao getUserDao() {
		return UserDaoImpl.getInstance();
	}
}
